package com.wyq.appsearch;

import android.graphics.drawable.Drawable;

/**
 * Created by wyq on 2017/4/10.
 */
public class App {
    private String name;
    private Drawable icon;
    private String versionName;
    private int versionCode;
    private String pkg;
    private long firstInstallTime;
    private boolean isUser;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Drawable getIcon() {
        return icon;
    }

    public void setIcon(Drawable icon) {
        this.icon = icon;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getPkg() {
        return pkg;
    }

    public void setPkg(String pkg) {
        this.pkg = pkg;
    }

    public boolean getIsUser() {
        return isUser;
    }

    public void setIsUser(boolean isUser) {
        this.isUser = isUser;
    }

    public int getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(int versionCode) {
        this.versionCode = versionCode;
    }

    public long getFirstInstallTime() {
        return firstInstallTime;
    }

    public void setFirstInstallTime(long firstInstallTime) {
        this.firstInstallTime = firstInstallTime;
    }

    @Override
    public String toString() {
        return "App{" +
                "name='" + name + '\'' +
                ", icon=" + icon +
                ", versionName='" + versionName + '\'' +
                ", versionCode=" + versionCode +
                ", pkg='" + pkg + '\'' +
                ", firstInstallTime=" + firstInstallTime +
                ", isUser=" + isUser +
                "}";
    }
}
